package engine.ui.chat
{
	import flash.events.Event;
	
	public class ChatEvent extends Event
	{
		public static const CHAT_SENDMSG:String	=	"chat_sendmsg";
		public static const CHAT_GETMSG:String	=	"CHAT_GETMSG";
		public static const CHAT_CHANEL_CHANGE:String	=	"CHAT_CHANEL_CHANGE";
		public static const CHAT_CHANEL_SHOW:String	=	"CHAT_CHANEL_SHOW";
		public static const CHAT_ITEMS_CLICK:String	=	"CHAT_ITEMS_CLICK";
		
		public static const CHAT_GETGMMSG:String	 = "CHAT_GETGMMSG";
		public var _data:Object;
		
		
		public function ChatEvent(type:String,data:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			_data = data;
			super(type, bubbles, cancelable);
		}
	}
}